package com.huawei.user.mapper;

import com.huawei.user.domain.User;
import com.huawei.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author raintea
 * @since 2022-05-09
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据手机号查询用户
     * @param phone
     * @return
     */
    User loadByPhone(String phone);
<<<<<<< HEAD

    /**
     * 通过logininfoId查询user
     * @param id
     * @return
     */
    User loadByLogininfoId(Long id);
=======
>>>>>>> 815a078707a159f81958d10b606db1f81992e9cf
}
